<?php
require_once dirname(dirname(__FILE__)) . '/shared/config/config.php';
require_once DOCUMENT_ROOT . DIR_INCLUDE . 'html_generator.php';
require_once DOCUMENT_ROOT . DIR_SHARED_API . 'api_bet_history.php';

$bet_history_id = filter_input(INPUT_POST, "bet_history_id");
api_bet_history::delete_bet_history_with_id($bet_history_id);
echo TRUE;